<script setup lang="ts">
import CartMain from './components/cartMain.vue'
// 获取屏幕边界到安全区域的距离
const { safeAreaInsets } = uni.getSystemInfoSync()
</script>

<template>
  <CartMain :paddingBottom="safeAreaInsets?.bottom + 'px'" />
</template>

<style lang="scss">
page {
  height: 100%;
}
</style>
